Entity Switch

Switch is the Entity definition for a switch.

Subclass of Usable.

Functions

IsOn () IsOn returns true if the switch is triggered.
IsBrainExtractor () IsBrainExtractor returns true if the switch is a brain extractor.
GetKeyTagName () GetKeyTagName returns the tag name for this switch to open.

Fields

isSwitch Indicates that the object is a switch.


Functions

IsOn ()
IsOn returns true if the switch is triggered.

Returns:

    A boolean indicating if the switch is triggered.
IsBrainExtractor ()
IsBrainExtractor returns true if the switch is a brain extractor.

Returns:

    A boolean indicating if the switch is a brain extractor.
GetKeyTagName ()
GetKeyTagName returns the tag name for this switch to open.

Returns:

    A string indicating the switch tag name.

Fields

isSwitch
Indicates that the object is a switch.
  • isSwitch
generated by LDoc 1.4.6 Last updated 2021-05-07 19:14:47